---
page_title: "cloudflare_total_tls Resource - Cloudflare"
subcategory: ""
description: |-
  Provides a resource which manages Total TLS for a zone.
---

# cloudflare_total_tls (Resource)

Provides a resource which manages Total TLS for a zone.

## Example Usage

```terraform
resource "cloudflare_total_tls" "example" {
  zone_id               = "0da42c8d2132a9ddaf714f9e7c920711"
  enabled               = true
  certificate_authority = "lets_encrypt"
}
```
<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `enabled` (Boolean) Enable Total TLS for the zone.
- `zone_id` (String) The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**

### Optional

- `certificate_authority` (String) The Certificate Authority that Total TLS certificates will be issued through. Available values: `google`, `lets_encrypt`.

### Read-Only

- `id` (String) The ID of this resource.

## Import

Import is supported using the following syntax:

```shell
$ terraform import cloudflare_total_tls.example <zone_id>
```
